package com.hourse.platform.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel(value = "修改用户密码")
public class UpdateUserPasswordVO implements Serializable {

    @ApiModelProperty(value = "手机号")
    @NotBlank(message = "手机号不能为空...")
    private String phone;

    @ApiModelProperty(value = "旧密码")
    @NotBlank(message = "旧密码不能为空..")
    private String oldPassword;

    @ApiModelProperty(value = "新密码")
    @NotBlank(message = "新密码不能为空...")
    private String newPassword;


}
